<?php

use yii\helpers\Html;

/**
* @var yii\web\View $this
* @var yiike\credit\models\Credit $model
*/

$this->title = $model->getAliasModel() . $model->user_id;
$this->params['breadcrumbs'][] = ['label' => $model->getAliasModel(true), 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => (string)$model->user_id, 'url' => ['view', 'user_id' => $model->user_id]];
?>
<div class="giiant-crud credit-update">
    <div class="panel">
        <div class="box-header ">
            <h3 class="box-title">编辑</h3>
            <div class="box-tools pull-right">
                <?= Html::a('<span class="fa fa-eye"></span> 查看', ['view', 'user_id' => $model->user_id], ['class' => 'btn btn-info btn-sm']) ?>
                <?= Html::a('<span class="fa fa-list"></span> 列表', ['index'], ['class' => 'btn btn-default btn-sm']) ?>
            </div>
        </div>
        <div class="box-body">
        <?= $this->render('_form', [
        'model' => $model,
        ]); ?>
        </div>
    </div>
</div>
